fix the state cannot be restored from destroying to stopped when destroy VM failed.#1224
fix the state cannot be restored from destroying to stopped when destroy VM failed.#1224txdyzdy wants to merge 1 commit intozstackio:masterfrom
Conversation
|
destroy vm should always succeed, so it maybe other problem, can you provide the problem details what you meet? |
|
The stopped event should be added in Destroying's state because it is possible that the status of the VM changed from destroying to stopped in the error function of the FlowChain. |
|
Sorry to reply late. In this condition,ZStack will otherwise I mean APIDestroyVm should always succeed, destroyVmOnHypervisor is possible to fail |
|
So it's not root cause,you can fix that syncVm cannot sync vm state from |
|
Thank you very much, I'm using an old version, after switching to the new version I found this in the method |

fix the state cannot be restored from destroying to stopped when destroy VM failed.